//
//  PatternModel.h
//  Mahjong
//
//  Created by 饶首建 on 17/5/28.
//  Copyright © 2017年 com.ikamobile.com. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^LoadSuccess)(id model);
typedef void(^LoadFail)(NSString *errorStr);

@interface PatternModel : NSObject

@property (nonatomic,strong) NSArray *huPatternArr;
@property (nonatomic,strong) NSArray *gangPatternArr;
@property (nonatomic,strong) NSArray *chaPatternArr;
@property (nonatomic,strong) NSArray *optionalHuPatternArr;
@property (nonatomic,strong) NSArray *optionalChaPatternArr;
@property (nonatomic,strong) NSArray *tagsPatternArr;

@property (nonatomic,strong) NSArray *ruleArr;

+ (void)loadPatternDataSuccess:(LoadSuccess)success fail:(LoadFail)fail;

+ (void)loadRuleSuccess:(LoadSuccess)success fail:(LoadFail)fail;

@end
